﻿using System;
using System.Web;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using AnyOffice.Components;
using AnyOffice.DAL;
using AnyOffice.Model;
namespace AnyOffice.general.system.workflow.flow_sort
{
    public partial class sort_new : ModulePage
    {       

        protected void Page_Load(object sender, EventArgs e)
        {
            if (this.Page.IsPostBack)
            {
                FlowSortDao dao = new FlowSortDao();
                FlowSortData data = new FlowSortData();
                data.SortNo = Convert.ToInt32(this.txtSortNo.Text);
                data.SortName = this.txtSortName.Text;
                dao.Insert(base.Conn, data);
                base.CloseConn();
                Response.Redirect("index.aspx");
            }
        }
        
    }
}

